package cn.luo.service;

import cn.luo.dao.FileDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.io.InputStream;

@Service
public class FileServiceImpl implements FileService {
    @Autowired
    FileDao fileDao;

    @Override
    public InputStream getInpuStreamByFilename(String fileid) throws IOException {
        return fileDao.getInpuStreamByFilename(fileid);
    }
}
